package cn.edu.wzu.openlearning.pojo;

public class QueryWordBooks {
    //包装类， ，方便进行查询

    private UserWordBooks userWordBooks; // 用户自建的单词书
    private Integer userRecitedWordCount; //用户已经背诵的数量;
    private Integer wordCount; //自建的单词书的总数量

    public QueryWordBooks(UserWordBooks userWordBooks, Integer userRecitedWordCount) {
        this.userWordBooks = userWordBooks;
        this.userRecitedWordCount = userRecitedWordCount;
    }

    public QueryWordBooks() {
    }

    public QueryWordBooks(UserWordBooks userWordBooks) {
        this.userWordBooks = userWordBooks;
    }

    @Override
    public String toString() {
        return "QueryWordBook{" +
                "userWordBooks=" + userWordBooks +
                ", userRecitedWordCount=" + userRecitedWordCount +
                ", wordCount=" + wordCount +
                '}';
    }

    public UserWordBooks getUserWordBooks() {
        return userWordBooks;
    }

    public void setUserWordBooks(UserWordBooks userWordBooks) {
        this.userWordBooks = userWordBooks;
    }

    public Integer getUserRecitedWordCount() {
        return userRecitedWordCount;
    }

    public void setUserRecitedWordCount(Integer userRecitedWordCount) {
        this.userRecitedWordCount = userRecitedWordCount;
    }

    public Integer getWordCount() {
        return wordCount;
    }

    public void setWordCount(Integer wordCount) {
        this.wordCount = wordCount;
    }
}
